package day3;

import java.util.Scanner;

public class t6 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int i = sc.nextInt();
        int k=i,j=0;
        while(i!=0){
            j*=10;
            j+=i%10;
            i/=10;
        }
        System.out.println(j);
        if(j==k) System.out.println("是");
        else  System.out.println("不是");
    }
}
